Indented, changed JS file name, added the remaining case in compare()