Get todo list from pageVar instead of ajax