Change .css to a function that gets executed on its own, so you can leverage the full power of javascript for your styling.