upgrade js proc using new api for kernel 3.10.x