code is now compatible with both grunt 0.3 and 0.4