Now that we're using es5shim, we may want to just use indexOf