Cannot use LinkedIn API with activeadmin because of how activeadmin includes javascript <p>I have succesfully gotten the Linkedin API to work using the following code:</p> <pre><code>&lt;script type="text/javascript" src="//platform.linkedin.com/in.js"&gt; api_key: my_key &lt;/script&gt; $('#sign_in').click(function(){ IN.User.authorize(user_authorized); }); var capture_data = function(){ IN.API.Raw().url('/people/~:(id,num-connections,picture-url,industry,headline,summary)?format=json').result(display_data); } </code></pre> <p>I am trying to redo this functionality in ActiveAdmin. The problem is the way active_admin includes javascripts and linkedin's formatting. LinkedIn required the exact linebreaks I use for including the src and api_key. I can't figure out how to add the first 3 lines above using activeadmin.</p>