refactoring everethyng
ajax js
ajax js
refactor