fixed a bug where the ajaxify jQuery plugin failed to load new pages when clicking elements inside anchors