json example: add missing use strict and comma
json example: perform leading 0 number check more simply