Update javascript.md

Replaced deprecated jQuery live() with on(), updated link to documentation.