Bug 21091: Move add item template JavaScript to a separate file