wrap code in iife and enable strict mode