Nginx Javascript Interview Question