Modified to support grunt 0.3