move some javascript to foot and fix a map my_map typo