Make it work in Firefox, move icon to resources

I included jQuery and jQuery UI from Google’s CDN.