small js bug fix on quotesView ajax