Fixed some broken tests for javascript
Fixed some broken tests for javascript

JackDanger/sentry,BuildingLink/sentry,gencer/sentry,JamesMura/sentry,ifduyue/sentry,JamesMura/sentry,mvaled/sentry,jean/sentry,gencer/sentry,JamesMura/sentry,ifduyue/sentry,jean/sentry,JamesMura/sentry,ifduyue/sentry,mvaled/sentry,looker/sentry,mvaled/sentry,gencer/sentry,JackDanger/sentry,beeftornado/sentry,mvaled/sentry,BuildingLink/sentry,gencer/sentry,BuildingLink/sentry,JackDanger/sentry,looker/sentry,mvaled/sentry,BuildingLink/sentry,jean/sentry,looker/sentry,gencer/sentry,looker/sentry,looker/sentry,jean/sentry,BuildingLink/sentry,jean/sentry,beeftornado/sentry,mvaled/sentry,ifduyue/sentry,ifduyue/sentry,JamesMura/sentry,beeftornado/sentry