add a javascript conf