use jquery
move logic to media view
handle closing lb while animating
remove setTimeout
add fallback to localsettings for wiki if you have to work with IP os can't change hosts file etc