Javascript with AMD support.