javascript cut from erb files to separate js files; photogallery remove icon enhanced