Fix typo. Javascript solution to prevent readonly attributes to be edited