Update LaserController.js

Boolean was not wrtten in code properly, bole an; > boolean;