small fixes (ldap user, plugin as JS)