First steps towards JavaScript unit testing