Video Capture in foreground for phonegap