make npm test run both PhantomJS and node tests. Update README.