The beginnings of some JS.