updated JS for opbandit