Feature/113 refactor ajax js