Fix coffeescript sample [ci skip]

Replace bind() with on() as suggested by the JQuery bind() documentation: https://api.jquery.com/bind/
Merge pull request #14087 from 10io/patch-1

Fix coffeescript sample [ci skip]