Simplify indentation rules, support else statements.
Match empty braces to allow ↩ snippet to fire.
allow folding on script tag (supporting embedding in php/html)

This didn't fold:
	<script type="text/javascript" charset="utf-8">

Because tag was grabbed by javascript, but not folded by it... this
adds folding in JScript
Fix keywords matching.

Before this commit, `object.instanceof` highlightened `instanceof`, which is wrong.

Also, var is not a type, rather than a keyword.
Improve folding to support more than functions.

Based on a patch from Dennis Vennink.
Add initial semantic classes.
Upgrade jsbeautifier library.
Less noise in the symbol list

Remove objects and entities from the symbol list, leaving only functions/methods.
Indent line after a one line/braceless statement

Originally from Joseph Pecoraro, fixes #4.
Revert "Indent line after a one line/braceless statement"

Causing a hang, reverted until this can be fixed. Fixes textmate/textmate#836.

This reverts commit dd95e7c405356492cf18e6f9dc5e9d07f34d3608.
Update snippets according to the Crockford's code conventions

This removes unneeded semicolons, makes JSHint/JSLint not generate warnings, improves readability. The snippet for the anonymous function is now easier to use as a callback, because of no need to remove the semicolon every time.

More info: http://javascript.crockford.com/code.html
Update indentation rules for the switch statement

To match the Crockford's code conventions ( http://javascript.crockford.com/code.html ), improving readability.
Convert get snippet into four snippets all set to get⇥

The previous snippet required further input to select the type, by using four snippets with the same trigger we get a menu to select the desired type.
Add new snippets: do, else, for in, setInterval, switch, try, while
Remove redundant snippets

"Object Value JS" literally duplicates the 'Object key — key: "value"' snippet.
"Object Method String" provides the code the I highly doubt that many people will use if any.
Remove trailing return from prototype snippet
Fix a typo in getElementById method name
Add another tab stop for the get-snippet methods.

Get-methods are often used with a string parameter, so one more tab stop now allows to get inside of the quotation marks which results in less keys pressed.
Update to 1.4.0 of JS Beautifier
Correct matching of multi-line function arguments

Fixes #17