Fix location errors
Fix IE8 bugs
Reimplement generic input and predictive input