JSHint fixes
Except: `mapObjectStringsToFunctions` is used but nowhere in the code…
make error obvious
make sure undefined values end up as null in frame communication and add to documentation