Check point Dec 15
added lastest code to JS client