added jshint global comment, and one more test before sim is declared ready