move UI js to ui subdirectory