Cleaned up less and js

Hey, I really like this dashboard and Im using it my small project, although the code was not very clean so I cleaned it up and decided to send You a pull request if you want to merge it.
Indents in js files were changed to 2 spaces and in less files also standarized to 2 spaces (like bootstrap is using). Some more cleanup was done in js files but everything works like before.