Move namespace declaration inside IIFE (Immediately-Invoked Function Expression)