Remove useless variables + iife
Documentation