Fixed Issue #1 (exceptions in firefox) and Issue #2 (lack of IE testing)