cleaned up keyword parse

removed fancy map / filter code from keyword parser. used simple
javascript to get the same stuff done