Add phantomjs project support.

Implemented the same way that ruby version support is implemented.