JS:Self-invoking anonymous function