using javascript instead of json formatting for the json example as it allows comments