using defineProperties on classes and added use strict