Use Shape to draw the bottom triangle for the sensor
Fix the jslint issue.