Change margin with JavaScript

Click the "Try it" button to change the margins of the DIV element:

This is my DIV element.