echo from javascript to java via cordovo