More logging info when creating JS, fix for KV MEM JSes