UnPack the code of javascript