Moved cnx demo into separate cnx directory

Also cleaned up the javascript config files