remove some deprecated jquery calls
Ignore KDE-specific directories
Small simplifications
remove use of deprecated jquery functionality