Add example.js for app gallery