clean up project structure
update JS to reflect changes in KA API