Few js code changes

changed pasSentence variable to answeredSentence