add support - commonjs and requirejs

It's not match indent with your codes. I have a plan to change indent and coding conventions. but, this codes also have a missing semicolon problem.