refactor, reformat README

now its more like javascript