1. Added modularization using RequireJS

Signed-off-by: Aryunov Mikhail <rtti@mail.ru>
Signed-off-by: Aryunov Mikhail <rtti@mail.ru>