Beginnings of JS unit and integration testing