Use JavaScript to eliminate need for separate server

This allows the Pebble app to communicate directly with Starbucks' servers