Added & Fixed JS for multiple files upload

Added & Fixed JS for multiple files upload via message attachment and
comment attachment