Minor changes to satisfy jshint