taking out jquery, switching to vanilla JS