testing javascript in production