moved config from script to configfile, added jquery filtering, cleaned up a bit etc