Removed jQuery and did with vanilla JS