Unity 3d 4.6 Resolution Settings for the new UI.

Ok Is there a way to get a JavaScript,tomake a in game resolution drop down window to populate Pc monitor’s current resolution in a list to pick from, Like what NGUI was doing???

Any one have any ideas on how to do this ?