Update realtime.js

added blank arrays for storing simulation settings. cleared the arrays whenever a project gets loaded.