Refactor 1

new map and js building.
Use make in the root folder to update files.