Integrate mocha-phantom-js, simple tests and dependency updates