Revert "remove obsolete prototype indicator code, as the jquery one seems to work better"

I revert this for now until we are sure there will be no problems with this code.

This reverts commit 58dba65d36c8bedb1008714c132f99e45335fc36.