Random ass utilities for cordova