A couple cross browser fixes.