ldap: enabled checks
fix jquery dependency