updated... works in Firefox at least