Lingua4me Media Player - JavaScript code for clients (web & PhoneGap)