added a markov js file.