checkbox controller - rebind onclick script on reload