A small js timeout fix