 added documentation
 changed type casting from integer to floating for baseValue and increment
 disabled curly brackets if cssElement is empty. You now can include the style as a parameter of a html tag.