Fix paths in phpunit.xml
Add Javascript tests framework
Add Javascript tests to Travis CI