removed global gallery.js image uploader, fixed issues on gallery backend