Moved debug code into for_debug.js.
Moved timing html into time-utils.js.
Merge pull request #105 from bstell/master

Moved debug code into for_debug.js.