adding msging and close buttons and packaging chosen.js in massive js file