fix for  #397

Reopened PR with clean commit. PhanthomJS added to the dropdown.