Documentation: Add /* global $ */ to every js file.

This allows JSLint to know what $ means.