Next generation Predikt in Javascript/jQuery