Object scope bugfix by using .bind()