Refactored into a nice base using yo grunt-bower-requirejs