js-winter-assignment-1 resubmit

Made corrections and resubmitting.