trying to pass in js var in erb in view