Fixed undefined issue in instamap.js.coffee