Refactor starred list JS
Add call back in init for lists