Head script tag generation

Allows to generate automatically the required script tag with the api
key if it is correctly supplied in the config/environment.js