Converted the calculator widget over to using an htmlt HTML template file.