added js debug part iii