Replace <script> and <style> tags with <p:script> and <p:style> #1