Problem/Motivation
JSLint is an awesome tool to help detect potential JavaScript problems but the current core js files do not indent inside the initial enclosing "scope creating" function cause JSLint to issue many messages.
The current method of indention in core is "pretty." It eliminates "indentation noise" inside the source file but is still nonstandard and compromises our ability to use standard tools like JSLint.
Proposed resolution
Use standard indentation. Indent lines inside even the initial enclosing function 2 spaces.
Remaining tasks
Change all the JavaScript files to use standard identation.
User interface changes
None.
API changes
None.