css and js bugs fixed