js from relation