Js in production fix