some js for maps