fixed javascript files for exercises