Helps to prevent jquery mobile to execute too soon