Misc fixes

allowing JS override access to standby server