toobar in javascript using OOP