Strict mode, formatting updates, touch events, etc.

Moves away from setTimeout(), adds touch event handling, detects usage after DOMContentLoaded, and and a few pedantic style nits = )