Fix non-readable paste when javascript is not used