Move map.js to js/map.js

Signed-off-by: Paul Brook <paul@nowt.org>