Fixed the hAzzle.js

Added the missing parts on my to do-list. And did a few changes