added map.js and added construtor for request librery