fix #1, send options to bailey.js