Using oop with prototype in DaArt.js