Yes, I can modify it as a requirejs module
Corrected few mistakes
Added the optimization
Removed optimization for dev