JS backend: fix clowny property expression in copy function