Update some code examples on the "Working with JavaScript in Rails" guide.
Merge pull request #8771 from lucasmazza/unobtrusive-javascript-examples

New code examples on "Working with JavaScript in Rails" guide.