improving the JS loading of stuff upfront