Changed production.rb to try to fix photo issue on heroku
Added javascript to conduct ajax request for deleting bases from index page dynamically