Fix some jshint warnings

There were too many for jshint to list (it maxes out at 52); suffice it to say that I didn't touch any of the unexpected uses of bitwise operators, and I'm only listing the warnings I fixed.

43	Use '!==' to compare with 'null'.
45	Use '===' to compare with 'null'.
121	The array literal notation [] is preferrable.
133	Use '===' to compare with 'null'.
175	Use '===' to compare with '0'.
186	Use '!==' to compare with '0'.
240	Use '!==' to compare with '0'.
243	Use '!==' to compare with '0'.
244	Use '!==' to compare with '0'.
251	Use '!==' to compare with '0'.
252	Use '!==' to compare with '0'.
253	Use '!==' to compare with '0'.
254	Use '!==' to compare with '0'.
255	Use '!==' to compare with '0'.
386	Use '!==' to compare with 'null'.
387	Use '!==' to compare with 'null'.
390	Use '===' to compare with 'null'.
397	Use '===' to compare with '0'.
400	Use '===' to compare with 'null'.
466	Use '===' to compare with '0'.