updated read me - #49
coding style + jsdoc
added commented new option for easier testing in future