Reutilization of standalone js in inpage