Switch from onBeforeInit to onAfterInit
Switch from onBeforeInit to onAfterInit

This allows users to use Requirements::block on the older version of
jQuery

christohill/silverstripe-sitemessages,christohill/silverstripe-sitemessages