fixed js concat, sort of