fixed javascript in prod