map javascript moved to static/js