analog.js: update to latest bonescript

* Remove globals
* Remove setup/loop
* Reference pins using string