Adding explicit JSON gem dependency
Using ${var} in JS for jQuery variables
Adding correct sorting for the "priority" column