Add useful javascript snippets
add b flag and edit placeholder
Update javascript.snippets
Merge pull request #364 from pgilad/patch-1

Add useful javascript snippets