fixing ordering of script tags for single requests, and adding an extra request for the aliases bundle so its included as a script tag