move reactify() under .js