prepared 2nd question for js and updated readme