Refactor JSClass.
Refactor JSResourceRegistry.
Refactor js bundle handler.
Refactor static file handler.
Changed declaration to use let instead of const, silly mistake.