JsHint'd & created new tilecost.js