JS refactoring and loader
loader css
add loader