js: Create a variable rather than direct translation.