added js for flash msgs, css