inline the javascript