Changed: minor JS improvements