Improvements to JS bundling and added javascript bootstrapper