Client-side javascript was changed to production state