Patch for CSP Violation on FireFox OS

Patch for CSP Violation on FireFox OS that causes privileged and certified apps not pass in Validation due CSP violation. Enclosing the following call in an anonymous function make it CSP compatible