Dynamically load ajax script

Calling #solvemedia_puzzle on an asynchronously loaded partial results in an error in the Solvemedia widget. This way of loading the ajax javascript file avoids the issue.