added sample for querySelector API