Revert "Revert "Coding conventions""

This reverts commit 36e32578ff733324941ffd041df44928b2e7e027.
Fix the addButton variable name and remove top position
JSHint fixes
Whitespace fix
Whitespace fixes
Merge pull request #3 from amire80/unbreak

Unbreak the dysfunction and some cleanup