Update javascript.md

Replaced deprecated jQuery live() with on(), updated link to documentation.
Merge pull request #3228 from daslicht/patch-1

Update javascript.md