Moved the deal template to concatenated javascript.