more jshint cleanups for eqeqeq
jshint fixes for appframework.js

can't use eqeqeq due to "nundefined" check