Added border style to note div and removed unneeded javascript alert