remove $.ajax, fix event listeners, add progressbar