bugfix: js can't work