moved game js to ui module