Made input work for chrome and IE.