fix lang config bug
add js exception catch code
fix config