cleaned comments
jslint warnings
read all text in file