jquery timing fooling around, seems to work now