PhantomJS 1.7, Blazing Star, was released on September 22, 2012. It added module system support (modelled after CommonJS), better cookies handling, additional input events, and other small improvements. Module system There has been module system support for a while, however it works only for internal modules. In this release, that support is extended for generic module written in JavaScript or Cof