add parameters stub to js function snipet
update from GitHub