IE 4 and up - javascript