Use super instead of ModelResource to call obj_delete method of parent class
Fix style issues
Change isNaN for _.isNaN