Added some basic javascript.