[#1377] Use $ and _ param names in JavaScript modules
[#1377] Clarify use of window in JavaScript modules
[#1733] Add 'use strict' to example JavaScript