Update Javascript

Update Javascript
fix scrollbar