Update test template JS includes to match preview

This uses applicaiton.js instead of the individual files as this will reduce the number of http requests required, and will also deal with future changes without requiring updates here.