Mimic constructor & prototype with object literal notion