convert back to jquery, as native js doesn't work this way