Added jQuery scripts for custom messages