add IIFE and strict mode to app.js