Fix default startup trace level
Always log state resolutions
Fix some jshint complaints