Not sure what you’re doing without seeing the implementation. Regardless, the CSS and JS can be placed anywhere. In an external file, in the tag, or anywhere else frankly. I updated it here to include it all as HTML. I recommend copying it as is into your site, make sure it works, then switch it to your own account. Everything included to make it work is included in that link.
http://jsfiddle.net/NcCk2/