more updates to readme and main js file