Fixed ajax of toppage