Small AMD JavaScript module support