Exit when there's nothing for d3 to render.

Thanks to @alanshaw for the hint.

Close issue #74.
Cosmetic change in the jshint rules.
Fix a few CSS issues.

* remove duplicate property font-size
* margin can't be used with diplay:inline
Trim trailing spaces.
Merge pull request #76 from XhmikosR/master

Fix for #74