some manipulations and erase of Jquery. covered it with vanilla