formatting, add jshintrc, add 5_generator_logic_refact.js.