Moving inline script to asset folder (and updating it to latest version).