Indentation and jsdoc fixes driven by jscs.
Merge pull request #58 from anaran/jscs-indent-jsdoc-fixes

Indentation and jsdoc fixes driven by jscs.
Closes #61 - Binary search works as Array.prototype.indexOf
Add Narayana's next permutation algorithm