use getElementsByName instead of getElementsByName in short-answer.js