(Reuters) - The Nasdaq squeaked out a record high close on Thursday thanks to Amazon.com, while deep drops in Macy's, Kohl's and other department stores weighed on the broader stock market.