javascript disable scroll and tidy