Common-use Javascript modules using AMD