JS file for supporting some function on user map.