fix javascript autofilling