js fixes
Fix selection