Added server and worker options
Removed stub.js