move js into calls.js