Fixing grunt build process given new directory structure.
Create a safe `console` object for environments which do not support `console`