Not certain if this has already been brought up elsewhere but the js fails for the onclick when looking at attachments with an iPhone.