some typed js and responsiveness