Compatible AMD - CommonJS - regular browser

Signed-off-by: Loïc Mahieu <mahieuloic@gmail.com>
release 0.2.2

Signed-off-by: Loïc Mahieu <mahieuloic@gmail.com>