Bug 935788 - Fix Pretty Print button when attempting to prettify non-js files; r=vporof, a=bajaj