Re-factoring(partial module dedication with requirejs) Some bugs came out from this(must be fixed).