Delete Function and add map

1.	Add jquery map.
2.	clean "checkXY" function.