@sriprasanna complete overhaul of household.js