passing canvas to initialize, adding reference to map.js