Updated Grunt To Prepare app folder as well

Take function out of loop : optimization