JavaScript for game.julius