Add AMD output support
Update documentation with AMD options
Remove the console.log :/