delete previous gallery vesions(js files)