Install phantonjs nodejs module. Fix jshint warnings.