Remove opt usage from app.js