js bugfix + css enhancement