indentation correction
Running js hint after file creation.
better placing "Hide working" and removing some console logs.