Completed fanin.js and all tests passing.