Adding more unit tests around extract scrollbars routine
Added a couple more checks in unit tests for extract scrollbars
Corrected JSLint reported issues