Prototypes in Self And JavaScript