compiler: js: use Model.defaults property properly