Fixed setHeight functionality and jshint issues."