fixed a few mminor erros
javascript change
bit of css change