Ruby racer, but using javascript