fix jquery loading after script