Build the JS files