Reformatted document for consistency.

Some tabs, some spaces.  Now all tabs.  Using web storm.
Corrected JSHint issues.
Corrected spec for 00:00AM

Typing 0 for midnight and getting 1PM is JUST WRONG and unexpected
behavior.
Adjusted code to match spec.
Adjusted spec to correct behavior.

Typing 13 should not equal 12!  It should equal 1PM or blank.
Typing 2320 should be 11:20 PM.