futher fixes of the javascript