updated to PopcornJs