added .on( "create") so the pages can refresh properly
added .on( "create") so the pages can refresh properly