If you make use of variables I suggest wrapping this whole script in an IIFE