fix production js issue