don't use assert in js