added style for icon
fixed javascript