added readme for how the js is organized