changed id name
cleanup and codeformatting
minor optimization
- minor optimization
- 'hest' removed
renamed class _ became -
refactored part of method in to a method new
cleaned up redundent variable initialization
renamed some menuitems 
Made deletion of favourite libraries possible through AJAX