Update to latest grunt-purescript, fix use of indexOf