updated grunt and fixed amd issues