simple relation js