small js fixes and responsiveness