JSFiddle - React, Tailwind, and code Playground

HTML

<img id="aks" />

JavaScript

var x = [
    'http://www.google.com/images/srpr/logo4w.png',
    'http://l.yimg.com/pv/static/img/us-metro-sprite-201303041617.png'
],
a = Math.floor(Math.random()*x.length);
$('#aks').attr('src',x[a]);