js: cssUnit form element fixes