fixed deleted javascript, working on filters