renamed martingale.js to main.js
added support for ignore