small edit & create js script