configures webpack to build client-side javascripts