New selection color
Quick JS fixes, cleanup, refactoring