removed timesheet.html, appended it as a helper function
diff --git a/erpnext/projects/doctype/timesheet/timesheet.html b/erpnext/projects/doctype/timesheet/timesheet.html
deleted file mode 100644
index 5aab517..0000000
--- a/erpnext/projects/doctype/timesheet/timesheet.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<div class="stopwatch">
-	<span class="hours">00</span>
-	<span class="colon">:</span>
-	<span class="minutes">00</span>
-	<span class="colon">:</span>
-	<span class="seconds">00</span>
-</div>
-<div class="playpause text-center">
-	<button class= "btn btn-primary btn-start"> {{ __("Start") }} </button>
-	<button class= "btn btn-primary btn-complete"> {{ __("Complete") }} </button>
-</div>
diff --git a/erpnext/public/js/projects/timer.js b/erpnext/public/js/projects/timer.js
index c97c7d1..1751fc1 100644
--- a/erpnext/public/js/projects/timer.js
+++ b/erpnext/public/js/projects/timer.js
@@ -21,12 +21,27 @@
 			'expected_hours': row.expected_hours
 		});
 	}
-	dialog.get_field("timer_html").$wrapper.append(frappe.render_template("timesheet"));
-	control_timer(frm, dialog, row, timestamp);
+	dialog.get_field("timer_html").$wrapper.append(get_timer_html());
+	function get_timer_html() {
+		return `
+			<div class="stopwatch">
+				<span class="hours">00</span>
+				<span class="colon">:</span>
+				<span class="minutes">00</span>
+				<span class="colon">:</span>
+				<span class="seconds">00</span>
+			</div>
+			<div class="playpause text-center">
+				<button class= "btn btn-primary btn-start"> ${ __("Start") } </button>
+				<button class= "btn btn-primary btn-complete"> ${ __("Complete") } </button>
+			</div>
+		`;
+	};
+	erpnext.timesheet.control_timer(frm, dialog, row, timestamp);
 	dialog.show();
 };
 
-var control_timer = function(frm, dialog, row, timestamp=0) {
+erpnext.timesheet.control_timer = function(frm, dialog, row, timestamp=0) {
 	var $btn_start = $(".playpause .btn-start");
 	var $btn_complete = $(".playpause .btn-complete");
 	var interval = null;