Properly close javascripts block and remove superfluous endblock
Merge pull request #2238 from rskuipers/patch-1

[WebBundle] Properly close javascripts block and remove superfluous endblock