fix js in map page