Add phantomjs test runner for javascript tests