Fixed logout in Apache2
Updated minor JS stuff