Update onoff.js