Fixed tabs and spaces for jshint

Hi, I've modified the tabs and spaces problems detected by jshint.
I' haven't done a test case for OSM attribution. I don't know why but the grunt karma command tells that can't find firefox (under ubuntu 12.04), Any Idea? In other projects with angular I run karma without any problems....
EDIT: solved the karma problem, fixing the unit tests