Prettify comments and whitespace.

This commit tries to make comment and whitespace formatting more
consistent. It replaces tabs with spaces; removes trailing whitespace;
removes several blank lines; and lastly fully reindents everything.

There should be no logic changes.
parseInt() should not be called without radix.
Do not request base.js twice.

In addition to being wasteful this sets the RAM diag to all zeros for
some reason. If for some reason base.js must load last then a larger
refactorization is called for.
Prefer ===.
Trim dead code.

Remove unused function.

Remove unused class decoration.
Simplify smooth-scrolling.
Cancel active pulse before starting new.
Remove default-null table column attributes.
Make quotation mark usage consistent.
Make dashboard script more modular.

This creates the semi-module "dashboard" that grants access to the
various refresh functions. This isn't a true module because it doesn't
actually model accessors but that would require a significant amount of
work to reduce decoupling. This is a goal for the future.
Merge pull request #55 from commonquail/js-pedantry

Drastic JS refactor