Add OO JavaScript Class