Fix JavaScript file indentation inconsistency.

Using 4 spaces for indentation in JavaScript file.