kludgy fix so that safari doesn't garbage collect the script node