Add new bar on li select and improving js