minor changes to JS ex, finished tutorial