Added end of files and some JS comments