Updated Location Update JS

Corrected The JS Parameter