require global js method renamed to source