Moving loading of collapse to single JS into functions