merge javascripts just in time