added javascript to show ninjas in canvas