Proper way to wait for one function to finish before continuing? Proper way to wait for one function to finish before continuing? jquery jquery