handle post in scriptfilter with json user filters . cleaned base.js to avoid having too many javascript objects created