simple script works in FF, but not Safari

Printable View