Browse page fix: initialize metadataForm and a few other variables.