Fixes syntax error in supervisor model
Fixes bug with validation association and JavaScript put requests