add automatic install js support