change test page, add safari support