[charset] fix mistakes and kick js to work to generate allps