Add utils.js as in the Shareabouts client
Merge changes from Stomping Ground into utils.js