fixed js linkage