js-oop-templates how can we write javascript classes and test them. functions.js = function based style