Adding validation, Fixing issues with IE