Getting the plugin started (NAWQAAN-361)

Right, but the syntax for typeof is that it goes first followed by the operand: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof