Fix for resampling in aurora.js so, that it now works under Firefox OS without CSP errors.