refactor js files. Now we can set current project by selecting