fix scrollSpy instructions for JS call

Don't really know if this is correct, but at least it only worked for me that way...