support arquillian QUnit: set phantomjs binary
Add Javascript unit test for page editor