(Bluefox) add example to repository

(Bluefox) change <adapter>.js to main.js or to common.main option. (old style works too)