JavaScript with Batteries Included for Google Glass