Trying to make on() work instead of live()