added action REQUIRE; fixed formatting single value for js
added ugettext call with msg
Merge pull request #10 from xliiv/require-action

added action REQUIRE; fixed formatting single value for js