fix custom js bottom loading