uploader js added to templates