intermidiate i140a in javascript