Changed indentation to 2 spaces

Reasons:
 - 2-space tabs are more preferred in JS community
 - Easier to glance without distance