Prettify JavaScript edit view