fixed js concat bugs