Use Immediately-Invoked Function Expression to avoid pollting namespace.
Added Start link detection.