Changed CSS and Animate way to set properties

Used string over object, much faster to use in practical use