Change outline with JavaScript

Click the "Try it" button to add an outline border to the DIV element:

Hello