Changes to JS and perl exercises