JS utils was buggy, fixed that.