Added API for expunging entity, wired up jsgui to expunge api