Version without depency of jquery was made. A bug with common events was fixed