Client now "requires" application JS based on list sent from server.

Added application names method on server.

Client uses this list to require application js needed.
much better to build an array here and then require them all at once