move the js in index.html to relationship.js.