changed javascript file to initialize map immediately