fix some alert.js vars
assign & hide alerts using post ids