adds wifi events from js

Goes with https://github.com/tessel/wifi-cc3000/pull/1
Should this be in a header file or is it private?