refactoring
+ paginate javascript
+ bridge front <-> server ajax