Fix loading a partial and rebinding the javascript to the form