Move admin metadata js into its own file as its shared across multiple models