quote responsiveness fixed and refactored quote.js