Removal of duplicate script injection function.

Jira issue: APPNFC-7
Merge branch 'APPNFC-7' of github.com:richardloganbaker/app-nfc-shop-pay into APPNFC-7