Output javascript files after render
Set origin to spawn point, halfway down