Fix custom js being added twice