Prepare grunt for test
replace jquery by when.js and rest.js