Parse js obj model to css