added phantomjs compatability and notes