Made tabletest.jade and requestJSON generic