remove boostrap js, stupid simple state_machine, fix filter