Fixed indents and jshint compliance