Refactor jPlayer initialization