5db9fed
Moved facet code into facet.js. Facet-related code has been moved from entity.js into a new facet.js because the file is getting too big.