HTML5 Assets.getBytes() fix