Changed all tile functions to jquery manipulating classes