added the javascript map model