JavaScript : organiser son code en modules : alsacreations.com
IIFE (Immediately Invoked Function Expression)
(function() { // code })();