enable portal\'s example.js feature