Little bits and pieces of JavaScript