Optimize with JSHint and String hoisting

Fixes problems with DOM manip before ready. Fixes bad call to check
default tracker.
Merge remote-tracking branch 'kabel/idm-optimize' into develop