Removed javascript onload tests as they didn't behave the same way on firefox and chrome