Fixed wrong externs declaration.
Removed now useless function.
Fixed broken test runner under some browsers.
render-content can return collection.