moved maps javascript require to top