1. Removed listeners as they cannot be in a single file
2. Separated open tab for listing pages as they have different scripts & listeners
3. Optimized code