moved kmc js files into directories