Fixed some errors in JK configuration and structure of dist bundle