Run JavaScript in your ESP8266 device http://federico.defaveri.org/2015/10/07/run-javascript-in-your-esp8266-device/