Formatted code, reverted from CDN to local libraries.
Fixed equation editor numbering and step shading bugs.