Phantomjs environment bindings and specs

Change-Id: Ib00b7670368a23126d2d517dcc5139ed1f53b480