Handle special case with only one app
What is missing is .min
version as I have no idea how to create it. In general, as always, solving the issue at hand in the most straight forward way, but there might be some javascript magic that might make it more elegant.