IW: typeof is not a function, missing ;

It's also fine if we decide we want to switch, we should just be consistent about it (feel free to start a style guide of current practices + proposed changes too if you want).