fixes #1 bug in firefox, where change event was not triggered