#535 - move form serialization to window onload

moved form serialization used to check if something is change before change page to window onload to assure that every manipulation done on DOM ready affects it