tie ui and client server js files