Seamless Client Side JavaScript with Webpack