Added map demo, comment on js file