added button to get a permalink to a script
Improved error display
- radio button labels highlight red to indicate presence of errors
- parser errors show even when javascript view is selected (cuz parser
  errors prevent js from being compiled so the js view is not relevant)