Refactor js files, now available multiple file managers on one page