Separated js files into map and directions. still trying to implement directions
fix merge conflicts