It might be advisable to cache the cssPrefixes outside of the function, so that the object is not recreated frequently.