adding documentation and fixing indentation for cliqueToIS.js