reverted terms.js from entities to use the temporary view