use === for JS comparisons
minor JS cleanup, re-execute duplicated sys_info