final security changes (thanks jPlayer!)
Added better security measures thanks to jPlayer