Revising javascript for interview section