Simple JavaScript image redactor