fixing basepath and stuff for TS... due to some changes in grunttypescript?