Update module with JS when user types