certain js is failing in prod