Fixed a small bug that caused a javascript error in Assets in Craft 2.3.