Fix Photo and Tag JS models and update routes