Added a map using javascript.