Fix PhantomJS not being able to be run on the VM

grunt test could not launch PhantomJS this commit will fix that issue.