Gulp amdclean

Created a gulp task to un-AMD jquery-autotagging (except for jquery and jquery cookie).
ended up changing the module name after transform to grab the global jQuery. Does anybody know of another approach/solution?