added latest display code from old html file into display.js, fixed canvas css display