Javascript compatibility

When calling `Array.indexOf`, use jQuery instead of relying on DDH prototype mod.
Remove template and use IA title/subtitle