some tries with js, failing