Several style changes. Fixed issue with jshint validation. Issue #5.