IW: typeof is not a function, missing ;

strict equivalency! ;)  Fine, but it can never be == equiv to values like 'string' anyway...