Javascript check if input value has changed. I have a map.