JS: Creates inherited ajax model, basic validation errors