Revert "use closure to minimize javascript"
Revert "use closure to minimize javascript"

This reverts commit c71ba26bec413c22f76bfe266a36faf9edb25e0f.

concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse