JavaScript objective questions