First working version of automated execution of notebooks in example folder.

Very WIP... I will work more on this in the next days...

Edit: No longer a WIP.
Why put javascript in a profile? I would like to have all JS logic in one place (`test.js`), unless there is a really good reason.