hotfix the js syntax