port argument must be parsed as int
fixes bug: term.js not loaded.

caused by github serves .js as plain text
Merge pull request #11 from comfuture/master

fixes `wssd -p` argument and more