1. You have defined many variables in variable panel, However, you did not provide initial values for many of those variables.
For example: You want satalite to rotate with angle o, but you never provide a value to variable o.
2. You defined a variables named as "drawingPanel3D". However, it is the same name for a 3D object(drawingPanel3D).
3. You have added two empty plottingPanel(without any GUI element in it).
There are too many strange setting in your ejs file and I do not know what you really want to do.
So I do not know how to correct it for you!