easy variable declarations added

var name = $("#element"); will initiate the variable 'name' with the
CMlControl matching the selector. For multiple matches (e.g. for class
selectors) it will create a CMlControl array containing the matched
elements.
Declaring a variable with prefix 'global ' will declare the variable
before the main() method and set it's value lateron.