Finished mta js homework.