Adding pollyfill for phantomjs, in r.graphs
Created tests for raphael.graphs