add Java and JavaScript as Content-Type