added ie warning and rejigged common scripts