Moved examples definition to separate js file for easier management.