addedd CSS code to panel-warning class

Signed-off-by: alkaest2002 <p.calanna@gmail.com>
javascript cleanup (using jshint)

Signed-off-by: alkaest2002 <p.calanna@gmail.com>