Object oriented JavaScript without write prototype