fix clicking on link that used to work with aloha
add comments for script blocks
refactored out progressbar
refactored out dropzone