Fix some jshint warnings

11 warnings
39	The array literal notation [] is preferrable.
40	The array literal notation [] is preferrable.
53	Use '===' to compare with 'null'.
133	Missing semicolon.
138	Missing semicolon.
145	Use '===' to compare with 'null'.
205	Expected a conditional expression and instead saw an assignment.
217	Use '===' to compare with 'false'.
280	The array literal notation [] is preferrable.
281	The array literal notation [] is preferrable.
395	Use '===' to compare with '0'.