Fixing grunt and bower build issues. Also formating all the code to not have any warning on grunt.