Minor changes to oop.js and bug fix for bug that happened during jshint error fixing