made roration; move some js options to settings.JS