revised js_scroll