Missing a .bind(this) on the anonymous function containing this code.