More UI refinement

I have added some css for warning message within javascript which might need some review for css.