read javascript code and learnning it