refactoring :), commented js files