add compress option for js compiler

change js category to "JavaCcripts"
fix jade template parse error and improved settings window UI