Change indentation to 2 spaces

Most of the modern JS frameworks use 2 spaces as well as the grunt and its internal tasks.