That's one too many spaces between  the `(` and `Detect`. Sorry I don't think we have JS coding styleguide / conventions documented somewhere.