move input element before label in XSLT instead of in JavaScript, closes #332
storage fix (after Chrome browser update changed Exception name thrown when localStorage is full