formalize default options
remove trailing whitespace
Merge pull request #3 from carrot/sjs/refactor

formalize default options