Support for panel static content, load partial script and loaded external libs using requirejs