Add javascript libs for iframe