Fixing IE and FF bugs