Move the js file to the js directory
Add map method sample