changed js to use template's failed wording