using cracked location.js for mobile