Refactored visual spectator to use undescore.js templates