add jquery map
more refacotring