Changed .bind() to .on() as preferred since jQuery 1.7
Merge pull request #1 from Capenus/patch-1

Changed .bind() to .on() as preferred since jQuery 1.7