Javascript code snippets

Few more snippets on Javascript