wrapped everything in an anonymous, self-executing function
now also available as CommonJS and AMD module
abstracted .css() with toCamelCase()