Update pManage.js

insert css files before first <link> or <style> node