Created constants for class brace style strings.
changed 'and-expand' and 'end-expand', I did not find such ref in python script.
unneeded if() was removed (line 1390)
looks like this handled before, and code wouldn't enter this spot in any of the tests, checked with xdebug.
some minor fixes.
Added ability to beautify strings like "\x74\x68\x69\x73" (should output: "this").

I've tested it with apparently no issues in the decoding of printable chars.
Non-printable chars remain in their \xYY form.

This version is online at https://server1.vittgam.net/jsbeautify-test/
"All 552 tests passed." on Google Chrome 21.0.1180.4 dev, so it should be okay.
Added option to decode printable characters in strings encoded in \xNN notation.
Fixed html page after adding decode_characters option
Shortened description for decode_characters option in html page, and fixed space-before-conditional label after checkbox
Fixed turn-off-codemirror link in html page
Fixed Python version that destroyed strings with encoded quotes/doublequotes or backslashes in them. Also added a command-line switch to explitly enable the \XNN-decoding behaviour.
Simplified check for \xNN decoding in JavaScript, and fixed the same check in Python (string.printable contains characters that are illegal in JS strings)
Added \xNN decoding to the PHP version.
Added tests for the decode_characters option in the PHP test file.
Added exception handler around int(resulting_string[-2:], 16) to catch invalid \xNN sequences
Added tests for the decode_characters option in the Python test file.
Chaanged test_fragment to bt in decode_characters PHP test file.
Added tests for the decode_characters option in the JavaScript test file.
Added how to run the JS tests with nodejs as a comment in the run-tests file.
s/decode_characters/unescape_strings/
Added ability to unescape \uNNNN printable characters.
Better if check for unescape_strings.
Fixed unescape_strings in PHP