Code cleaning

Code cleaning, a bit grammar nazi style. Removing the anonymous function,
the semicolons after the functions, single quotes...