js fix to make watermark work in ie