working on javascript docs