Use js/jvm/shared structure in all examples