Added js file for making messages