fully commented all js