adding to readme and cleaning up JS