Update onOff.js

add attr style checkbox into block