tile js fix