add prototype based on MeteorJS framework