Pepper applications as Native Client or JavaScript