Moved phantom JS installation before grunt execution