diff --git a/public/controller.html b/public/controller.html
index 1bf5f2e..77999a9 100644
--- a/public/controller.html
+++ b/public/controller.html
@@ -1,60 +1,54 @@
-
-
- Mobile Laser Pointer - Controller
-
-
-
-
-
-
-
\ No newline at end of file
+ sensor.addEventListener("error", (error) => {
+ if (event.error.name === "NotReadableError") {
+ console.log("Sensor is not available.");
+ }
+ });
+ sensor.start();
+
+