CON-1396 | fixes; moved controller methods to extension; moved tracking .js to extension; moved template to extension