OK, I was stupid about filter/convert. Also fixed JS indent.