Fix data-emit problem jquery