Fixes for IE and FF