Is there a function or anything equivalent to strstr() (for PHP) in JavaScript? thanks