ENYO-700: Wrap init code in an IIFE.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>