Fixed compilation errors for map js files; added scripts to initializers/assets.rb
fixed compilation errors for map js files