Break the code into modules. This will have the following benefits:
it would be possible to build more than one final app. For example it would allow to have build for search web app and for user profile web app from single maven build.
it would allow to share common JS code between modules. For example both search and user profile apps uses the same service LookUp logic and utility classes.
it would also allow to develop alternative apps with experimental features. For example experimental search web app on top of regular search web app adding some experimental features.
Break the code into modules. This will have the following benefits: