Initial Javascipt commit

Initial commit including file and JS general coments.