Work in IE and FF now

Small simple fix so stuff works in IE and FF to.