adding js methods to bind the gallery and uploaders
adding js methods to bind the gallery and uploaders