More javascript cleanup, more fixes of === / !===