gebruederheitz/sticky_parameters — pull request #1 by drublic (2012-09-12 15:37:32+00:00)
Title: If link has no attribute "href" indexOf() fails

Thus using the empty sting to retrieve indexOf.