A library of location based services (LBS) written in JavaScript and Node.js using PhoneGap