First pass at js-refactor-to-oo