Adjusted javascript creation to reflect the new or existing object changes made earlier.
Adjusted javascript creation to reflect the new or existing object changes made earlier.

pierswarmers/rtCorePlugin,pierswarmers/rtCorePlugin