Replace .bind with $.proxy