add filter.js and fixed twitta bugs