Removed CDN Support due to lack of CDN files being present.

Put both event handlers inside the same ready function.