Updated to use 2 spaces for indentation instead of 4

Just following the advice from experts here:
https://github.com/airbnb/javascript