Fix some javadoc entries

The scope of JsonReferenceError has been reduced.