Using JS could check json file at local.