2D library for cordova