edits to SO script

uses jQuery now