A simple js parser to convert inline css to a JSON object