fixed bugs with click events, fixed fan speed bug
fixed indexhtml typo