Run the function that toggles post create list in document.ready instead of behaviors.