Update contentloaded.js

Added Immediately Invoked Function Expression (IIFE) to automatically set adder & remover to appropriate functions