Make it work on IE (11 at least, 10 possibly). 

Needs more testing on other versions/browsers.