[BD-40] Fixes some jshint errors and temporarily suppresses others.