I would rather go in the direction of extending JavaScript in the direction of ActionScript 3. I love Action Script and I feel that JavaScript is a bit hacky for RIA (not clean OOP,refactoring is hard) What do you think?
What about it do you like besides having classes?