Update tweetmapper.js

put Twitter API Codes in a separate module.
Add moment.js