Browser Threading Model - Assignment Solution