Without using jQuery or any other library (only vanilla js) I want the best way to execute a second method (of a class) after the first one has completed.