Nucor Interview Question

When would you use javascript?