Fix some FF and IE issues