JS plot zoom & others