JS exam prep problems