added action REQUIRE; fixed formatting single value for js