Javascript realtime human motion generator