Revert "fixed API docs"

This reverts commit 900e3ec6d859fe553f8e6bc356edb5df3f03ff46.
don't require port in origin whitelist, fixes #84