[javascript-hint addon] Fix undefined variable bug
[javascript mode] Another fix to parsing for-loop specs

Issue #1418
Standardized the type format used in manual.
Manual: Constructor method is added to miscellaneous, static members are put inside a <dl>.
Go over manual changes, try to preserve readability
Do some styling in an attempt to make manual more readable
Revert changes to cursor adjustment during replaceRange

Issue #1415
Add Midnight theme
Add npm module badge

Simple badge for current npm module
Prevent the latter part of hyphenated terms from being identified as attributes.