fixed javascript bug, Updated css