ammend style, fix with jshint, add strict