A Javascript test for a job interview