I would like to see all reference defined as global in the function parameter
jIO storage parameter should be compatible with the JSON format, to allow storing a jIO configuration as a string. Please don't use object.