[OE-2664] first bash at standardised javascript passthrough from the controllers.
Merge branch 'jira/2664' into release/1.3-moorfields

Conflicts:
	assets/js/module.js
Merge branch 'release/1.3-moorfields' of github.com:openeyes/OphDrPrescription into release/1.3-moorfields