Jesus, your code is messy; clean it up a bit. You shouldn't do really long in-liners, just use arrow functions.