Update javascript to use 4 spaces instead of 2