(cleanup) Add IIFE to app.js and removed un-needed code