Update variable names passed to javascript for clarity.