initial javascript files checkin
This commit contains the interesting bits of kit needed to form the
skeleton of this experiment