js block added to base and used in upload.html