refactoring.

split tag <ps:staticResource into <ps:link and <ps:script