broken javascript, string variable not in quotes was fixed. tile.php does not need to call mkdir