Now using jQuery .bind instead of .on to support older jQuery versions