Adding the show/hide garbage layer JS functions