[WebBundle] Properly close javascripts block and remove superfluous endblock

I think the javascripts block was moved to the top at some point but the endblock was never moved with it.
The whole body of the layout was in the javascripts block.