removed tabs; cleaned up jshint warnings
clean up whitespace