Added Webpack and converted js to CoffeeScript