fix js full website function bug on json parsing