Remove jshint from debug mode
Move elapsed time, clock and state to background script
Fix bootstrap in debug mode