fix for jsdemo target