Fix code style, so JSHint is happy.
Fix function calls.
Merge pull request #24 from ozonos/code_cleanups

Fix code style, so JSHint is happy.
Merge remote-tracking branch 'origin/master' into bug-fix

Conflicts:
	atomappdisplay.js
	atomdock.js