move UI to js asset