make pagination work somehow
remove javascript for now
prepare for multi-regex support
various fixes