Add PLUpload resources and JS reorganization