Precompiling the JS files required for map.