js: rotationbutton had handler, but was not declared