read only (un)lock on files and add jQuery UI