Change output from jquery to plain js.