- modified the javascript and server for multiple instances start and modification