added many useful snippets for javascript editing