Added sample js files for socket testing