firefox support
test support for IE11
tidy up and fix ff/ie11