Only show panel for javascript files.
Fix some layout issues.