example for persistent game object that travels trough javascript layers