REF: Update javascript loading to work with static nbviewer