Fix options hash so that all layout examples are consistent
trailing comma is not legal in ECMA-262 object initializers
missing variable declaration
function defined but not used