javascript working fully with IE8 now!