Javascript + DOM in your ruby,  based on PhantomJS