bolt/bolt — pull request #981 by GawainLynch (2014-03-08 19:02:53+00:00)
Title: Attempt to fix broken insertion of JavaScript in extensions

Attempt to fix broken insertion of JavaScript in \Bolt\Extensions::insertAfterJs()
In an extension, calling the following causes the passed JS to be inserted inside the last block:
`$this->insertSnippet(SnippetLocation::END_OF_BODY, $js );`

And example of this is enableing the Google Analytics and RateIt extensions, the RateIt code will be inserted inside the GA script block (assuming Google Analytics is listed before RateIt in the `enabled_extensions` config parameter)