Fixed json check in ieee.js