fixed js question #3