revert removal of jshint boss flag, see #2957

@WebsiteDeveloper accidentally removed a jshint flag that we need to keep due to #2957

Also, fixes broken unit test due to new behavior from #3032.