Simple model module for JS applications