Move variable decl up.
Rename to createImmediatelyInvokedFunctionExpression.
Use JSDoc style comments.
Add copyright header to unit test.