Fix silly wrong-inclusion of JS files.

Was loading them as CSS.  Doh.
Add style editing functionality