Updating JS and docs