split admin ui js into site.js