Added reference to jsclient.html from index. Cleaned a little bit some actor code