Don't drop url parameters from the original GET query.
Remove autoload function, force to explicite javascript calls