Moves js to external file

Fixes #1 

- js to `js/map.js`
- Add `<script>` call to `map.html`.