Merge pull request #789 from cocoscodeide/develop

fix bug: response not been sent completely
add clear all script support
fix:runtime crash when upload file to Mac/Win32