@DavyLandman showed me a strange way to solve it
fixed ambiguity for ternary expressions, fixed filtering code for block statements (usable in other contexts as well and should be), jquery parses now, fixed some ambiguity on expressions by adding associativity