Details on model object in javascript