relational js to work on gh