small cleanup

added missing colon, === when comparing with null (http://stackoverflow.com/questions/359494/javascript-vs-does-it-matter-which-equal-operator-i-use)