Worklight HTML5 Project 2 (quake detector)