Don't call initPage on the initial load, as that would just load all the scripts twice.